from pydantic import BaseModel
from typing import Optional

class StabilizedSoilCreate(BaseModel):
    source: str
    mp_num: str
    col_time: str
    remark_1: str
    is_p: int
    formula: str
    discharge_time: str
    stone_1: float
    stone_2: float
    stone_3: float
    stone_4: float
    stone_5: float
    stone_6: float
    stone_7: float
    fl_1: float
    fl_2: float
    fl_3: float
    water: float
    s_total: float
    th_stone_1: float
    th_stone_2: float
    th_stone_3: float
    th_stone_4: float
    th_stone_5: float
    th_stone_6: float
    th_stone_7: float
    th_fl_1: float
    th_fl_2: float
    th_fl_3: float
    th_water: float
    remark_2: Optional[str] = None
    remark_3: Optional[str] = None
    baocunshijian: Optional[str] = None
    biaoshi: Optional[str] = None